package ch03;

/**
 * @author yang
 * @date 2024-04-04
 */
public class TestMain {
    public static void main(String[] args)throws Exception {
        Student student = new Student();
        student.setSex("man");
        System.out.println("性别："+student.getSex());
        for (String hobby: student.getHobby()) {
            System.out.println("爱好："+hobby);
        }
    }
}
